package com.ymh.git.thread.juc.account;

/**
 * Created by aivin on 2018/11/1.
 * <p>
 * 银行转账动作接口
 */
public interface ITransfer {
    /**
     * 转账功能
     *
     * @param from   转出账户
     * @param to     转入账户
     * @param amount 转账金额
     */
    public void transfer(UserAccount from, UserAccount to, int amount);
}
